package com.axzhengxin.platform.business.domain;

import java.math.BigDecimal;

import com.axzhengxin.platform.afterloan.domain.FspCorInf;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 在线担保申请信息对象 biz_warrant_info
 *
 * @author axzhengxin
 * @date 2021-03-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BizWarrantInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 在线担保业务id
     */
    private String warrantId;

    /**
     * 贷款申请id
     */
    @Excel(name = "贷款申请id")
    private String applyId;

    /**
     * 客户编号
     */
    @Excel(name = "客户编号")
    private String customerId;

    /**
     * 发布时间
     */
    @Excel(name = "发布时间")
    private String publishDate;

    /**
     * 产品代码
     */
    @Excel(name = "产品代码")
    private String productId;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    private String productName;

    /**
     * 融资金额
     */
    @Excel(name = "融资金额")
    private BigDecimal financeAmount;

    /**
     * 融资时间（3、6、12个月等）
     */
    @Excel(name = "融资时间", readConverterExp = "3=、6、12个月等")
    private Integer financeTime;

    /**
     * 金融机构
     */
    @Excel(name = "金融机构")
    private String financeOrg;

    /**
     * 预售信金额（万元）
     */
    @Excel(name = "预售信金额", readConverterExp = "万=元")
    private BigDecimal approveAmount;

    /**
     * 管理需求在线担保关联对象
     */
    private BizApplyWarrantRelative bizApplyWarrantRelative;

    /**
     * 需求对象
     */
    private BizApplyInfo bizApplyInfo;

    /**
     * 流程ID
     */
    private String flowUid;

    /**
     * 实际担保金额
     */
    private BigDecimal guaranteeAmount;
    /**
     * 担保期限
     */
    private Integer guaranteeTime;
    /**
     * 担保利率
     */
    private Integer guaranteeRadio;

    /**
     * 业务状态
     */
    private Integer status;

    /**
     * 担保合同号
     */
    private String guaranteeNo;

    /**
     * 是否关联需求 0否 1是
     */
    private Integer businessType;

    /**
     * 产品类型
     */
    private String productType;
    /**
     * 贷款用途 字典表 loan_way键
     */
    private String loanWay;
    /**
     * 项目情况
     */
    private String project_situation;

    /**
     * 贷款金额
     */
    private String loanAmount;

    private FspCorInf FspCorInf;

    /**
     * 贷款用途
     */
    private String proposedLoanOrg;

    /**
     * 贷款期限
     */
    private String loanTime;

    /**
     * 项目情况
     */
    private String projectSituation;
}
